<script setup>
import { RouterView } from 'vue-router'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
const locale = zhCn;
const kpInclude = ['layout']
</script>

<template>
    <el-config-provider :locale="locale">
        <router-view v-slot="{ Component }">
            <keep-alive :include="kpInclude">
                <component :is="Component"></component>
            </keep-alive>
        </router-view>
    </el-config-provider>
</template>

<style scoped>
</style>
